<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2024-10-13
  Time: 9:33
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%request.setCharacterEncoding("GBK");%>
<form action=""method="post">
    <table>
        <tr>
            <td>姓名:</td>
            <!--这里的name属性的值一定要和javaBean中相应的名字相同-->
            <td><input type="text" name="name"value=""></td>
        </tr>
        <tr>
            <td>性别：</td>
            <td><input type="text"name="sex"value=""></td>
        </tr>
        <tr>
            <td>年龄：</td>
            <td><input type="text"name="age"value=""></td>
        </tr>
        <tr>
            <td colspan="2" align="center"><input value="提交"type="submit"></td>
        </tr>
    </table>
</form>
</body>
</html>
